<<<<<<< .mine
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>prngd: Tcp_Server Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">prngd
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_tcp___server.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="class_tcp___server-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Tcp_Server Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Implement a tcp-server for prngd.  
 <a href="class_tcp___server.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_tcp___server_8h_source.html">Tcp_Server.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Tcp_Server:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server__inherit__graph.png" border="0" usemap="#_tcp___server_inherit__map" alt="Inheritance graph"/></div>
<map name="_tcp___server_inherit__map" id="_tcp___server_inherit__map">
<area shape="rect" id="node2" href="class_com___interface.html" title="Interface class for all server&#45;classes like Tcp_Server , Udp_Server etc. . " alt="" coords="5,5,111,32"/><area shape="rect" id="node3" href="class_my_thread_class.html" title="Implements Thread&#45;handling for two threads within an object. " alt="" coords="135,5,247,32"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Tcp_Server:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server__coll__graph.png" border="0" usemap="#_tcp___server_coll__map" alt="Collaboration graph"/></div>
<map name="_tcp___server_coll__map" id="_tcp___server_coll__map">
<area shape="rect" id="node2" href="class_com___interface.html" title="Interface class for all server&#45;classes like Tcp_Server , Udp_Server etc. . " alt="" coords="21,184,126,211"/><area shape="rect" id="node3" href="class_prngd.html" title="Can generate random bits with the help of a BBS&#45;generator or a ...... " alt="" coords="45,95,101,121"/><area shape="rect" id="node4" href="class_i_o_unit.html" title="Class for Input/Output File Operations. " alt="" coords="5,5,64,32"/><area shape="rect" id="node5" href="class_b_b_s.html" title="Blum Blum Shub pseudo random number generator. " alt="" coords="89,5,138,32"/><area shape="rect" id="node6" href="class_my_thread_class.html" title="Implements Thread&#45;handling for two threads within an object. " alt="" coords="151,184,263,211"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad8fb0128c69d6f3597f86b82bcdcfb7a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#ad8fb0128c69d6f3597f86b82bcdcfb7a">Tcp_Server</a> (Prngd_State state)</td></tr>
<tr class="separator:ad8fb0128c69d6f3597f86b82bcdcfb7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfbbfa3a278df78e960b66b6639aff86"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#abfbbfa3a278df78e960b66b6639aff86">~Tcp_Server</a> ()</td></tr>
<tr class="separator:abfbbfa3a278df78e960b66b6639aff86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:a065ac72fad16160e5eb3eb15d39c80ef inherit pub_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a065ac72fad16160e5eb3eb15d39c80ef">Com_Interface</a> ()</td></tr>
<tr class="separator:a065ac72fad16160e5eb3eb15d39c80ef inherit pub_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfde94bb290770ae09a732b3bd3f5753 inherit pub_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#abfde94bb290770ae09a732b3bd3f5753">~Com_Interface</a> ()</td></tr>
<tr class="separator:abfde94bb290770ae09a732b3bd3f5753 inherit pub_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4b655641d2e003fa7595252e35a13f7 inherit pub_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#af4b655641d2e003fa7595252e35a13f7">isActive</a> ()</td></tr>
<tr class="separator:af4b655641d2e003fa7595252e35a13f7 inherit pub_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ab143c623a5dcda41b308c443b81f74dd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#ab143c623a5dcda41b308c443b81f74dd">thread_listen</a> (pthread_t parent_th)</td></tr>
<tr class="separator:ab143c623a5dcda41b308c443b81f74dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2edda05badb8d3b7838679aaaa70b470"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#a2edda05badb8d3b7838679aaaa70b470">thread_work</a> ()</td></tr>
<tr class="separator:a2edda05badb8d3b7838679aaaa70b470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_my_thread_class"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_my_thread_class')"><img src="closed.png" alt="-"/>&#160;Private Member Functions inherited from <a class="el" href="class_my_thread_class.html">MyThreadClass</a></td></tr>
<tr class="memitem:a08ff85b3d928e0b953b3aee40b4dc9ed inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a08ff85b3d928e0b953b3aee40b4dc9ed">MyThreadClass</a> ()</td></tr>
<tr class="separator:a08ff85b3d928e0b953b3aee40b4dc9ed inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04fba1006d1a3606208997d539214f8f inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a04fba1006d1a3606208997d539214f8f">~MyThreadClass</a> ()</td></tr>
<tr class="separator:a04fba1006d1a3606208997d539214f8f inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a61698b55e4b49c3050854bb10ec8ba inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a5a61698b55e4b49c3050854bb10ec8ba">StartWorkerThread</a> ()</td></tr>
<tr class="separator:a5a61698b55e4b49c3050854bb10ec8ba inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d7edfe08ebb05f0ed293d4623f5b544 inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a0d7edfe08ebb05f0ed293d4623f5b544">StartListenerThread</a> (pthread_t parent_th)</td></tr>
<tr class="separator:a0d7edfe08ebb05f0ed293d4623f5b544 inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a649497005488e50141baa26434719e69 inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a649497005488e50141baa26434719e69">WaitForWorkerThreadToExit</a> ()</td></tr>
<tr class="separator:a649497005488e50141baa26434719e69 inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f39e3150017a1e203654cb6ebbd94fa inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a2f39e3150017a1e203654cb6ebbd94fa">WaitForListenerThreadToExit</a> ()</td></tr>
<tr class="separator:a2f39e3150017a1e203654cb6ebbd94fa inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a997f92ae453cb07a25d992afca8ea5d0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#a997f92ae453cb07a25d992afca8ea5d0">create_socket</a></td></tr>
<tr class="separator:a997f92ae453cb07a25d992afca8ea5d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0521cff576ea187041e9a322f5d6d1a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#ad0521cff576ea187041e9a322f5d6d1a">new_socket</a></td></tr>
<tr class="separator:ad0521cff576ea187041e9a322f5d6d1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd52320edd60e5711cc92c78c03658d7"><td class="memItemLeft" align="right" valign="top">socklen_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#acd52320edd60e5711cc92c78c03658d7">addrlen</a></td></tr>
<tr class="separator:acd52320edd60e5711cc92c78c03658d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ca9589adee5136009cb8f62e228d913"><td class="memItemLeft" align="right" valign="top">struct sockaddr_in&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#a6ca9589adee5136009cb8f62e228d913">address</a></td></tr>
<tr class="separator:a6ca9589adee5136009cb8f62e228d913"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:a336a131126d70b29f57b00dd85ddbd17 inherit pro_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a336a131126d70b29f57b00dd85ddbd17">configSignals</a> ()</td></tr>
<tr class="separator:a336a131126d70b29f57b00dd85ddbd17 inherit pro_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa423be26761f884c8dc9ebc2a5bfa56d inherit pro_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aa423be26761f884c8dc9ebc2a5bfa56d">getParams</a> ()</td></tr>
<tr class="separator:aa423be26761f884c8dc9ebc2a5bfa56d inherit pro_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86dab5cff6981eba39b28688af72c464 inherit pro_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a86dab5cff6981eba39b28688af72c464">deleteParams</a> ()</td></tr>
<tr class="separator:a86dab5cff6981eba39b28688af72c464 inherit pro_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_methods_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Static Protected Member Functions inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:ad6999d4955c55fbd93cd99d862f1e378 inherit pro_static_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#ad6999d4955c55fbd93cd99d862f1e378">dummy_handler</a> (int)</td></tr>
<tr class="separator:ad6999d4955c55fbd93cd99d862f1e378 inherit pro_static_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:aeb7aa609943c932ca93b8b2ac134f9c2 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_prngd.html">Prngd</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aeb7aa609943c932ca93b8b2ac134f9c2">prngd</a></td></tr>
<tr class="separator:aeb7aa609943c932ca93b8b2ac134f9c2 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb6626223a71a55bede469f632a3a80b inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">pthread_attr_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aeb6626223a71a55bede469f632a3a80b">attr_obj</a></td></tr>
<tr class="separator:aeb6626223a71a55bede469f632a3a80b inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03383450084f47ce46bbd6eba7a2fe4b inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">sigset_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a03383450084f47ce46bbd6eba7a2fe4b">sigmask</a></td></tr>
<tr class="separator:a03383450084f47ce46bbd6eba7a2fe4b inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7857c92683530e3981d078f290f1826 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#ae7857c92683530e3981d078f290f1826">sig</a></td></tr>
<tr class="separator:ae7857c92683530e3981d078f290f1826 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe0239dfa53ce449b1a68829c704494f inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">struct sigaction&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#abe0239dfa53ce449b1a68829c704494f">action</a></td></tr>
<tr class="separator:abe0239dfa53ce449b1a68829c704494f inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c65929a9fd606c2db0fe63e62837940 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a4c65929a9fd606c2db0fe63e62837940">listen_thread_active</a></td></tr>
<tr class="separator:a4c65929a9fd606c2db0fe63e62837940 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a787baff1c3a135707d38612c24c091b1 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a787baff1c3a135707d38612c24c091b1">work_thread_active</a></td></tr>
<tr class="separator:a787baff1c3a135707d38612c24c091b1 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3967c39a22bb3f76fded0b57e50c2b78 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a3967c39a22bb3f76fded0b57e50c2b78">work_buffer</a> [BUFFER_SIZE]</td></tr>
<tr class="separator:a3967c39a22bb3f76fded0b57e50c2b78 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebd609f7517d3cbbdff77bf1d3183dc0 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aebd609f7517d3cbbdff77bf1d3183dc0">worker_busy</a></td></tr>
<tr class="separator:aebd609f7517d3cbbdff77bf1d3183dc0 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d9e2b07056a8effe616bdc1addbce9 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a49d9e2b07056a8effe616bdc1addbce9">param_count</a></td></tr>
<tr class="separator:a49d9e2b07056a8effe616bdc1addbce9 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a837a6d442933031ed87b08d484f5b4a7 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">char **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a837a6d442933031ed87b08d484f5b4a7">params</a></td></tr>
<tr class="separator:a837a6d442933031ed87b08d484f5b4a7 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11f62625a965eb292768e464f44dd42e inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a11f62625a965eb292768e464f44dd42e">active</a></td></tr>
<tr class="separator:a11f62625a965eb292768e464f44dd42e inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implement a tcp-server for prngd. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad8fb0128c69d6f3597f86b82bcdcfb7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Tcp_Server::Tcp_Server </td>
          <td>(</td>
          <td class="paramtype">Prngd_State&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor </p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph.png" border="0" usemap="#class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph" alt=""/></div>
<map name="class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph" id="class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph">
<area shape="rect" id="node2" href="class_my_thread_class.html#a5a61698b55e4b49c3050854bb10ec8ba" title="MyThreadClass::StartWorker\lThread" alt="" coords="212,5,403,47"/><area shape="rect" id="node3" href="class_my_thread_class.html#a7909fe494afbfe99b385dc5bccbfb5ba" title="MyThreadClass::thread\l_workEntryFunc" alt="" coords="451,5,607,47"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="abfbbfa3a278df78e960b66b6639aff86"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Tcp_Server::~Tcp_Server </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destructor </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab143c623a5dcda41b308c443b81f74dd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Tcp_Server::thread_listen </td>
          <td>(</td>
          <td class="paramtype">pthread_t&#160;</td>
          <td class="paramname"><em>parent_th</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>See doc for My_ThreadClass. </p>

<p>Implements <a class="el" href="class_com___interface.html#ace46e0a2fac1cef57aceaaaa16dcc2f5">Com_Interface</a>.</p>

</div>
</div>
<a class="anchor" id="a2edda05badb8d3b7838679aaaa70b470"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Tcp_Server::thread_work </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>See doc for My_ThreadClass. </p>

<p>Implements <a class="el" href="class_com___interface.html#a3b92b83ba2161bfdf973c7ab3c7d7b0e">Com_Interface</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph.png" border="0" usemap="#class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph" alt=""/></div>
<map name="class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph" id="class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph">
<area shape="rect" id="node2" href="class_com___interface.html#a336a131126d70b29f57b00dd85ddbd17" title="Com_Interface::configSignals" alt="" coords="228,17,419,43"/><area shape="rect" id="node4" href="class_my_thread_class.html#a0d7edfe08ebb05f0ed293d4623f5b544" title="MyThreadClass::StartListener\lThread" alt="" coords="226,71,421,112"/><area shape="rect" id="node6" href="class_com___interface.html#aa423be26761f884c8dc9ebc2a5bfa56d" title="Com_Interface::getParams" alt="" coords="235,137,411,163"/><area shape="rect" id="node7" href="class_prngd.html#a617fbe2be79677859235262d59b4c0f0" title="Prngd::work" alt="" coords="278,187,369,214"/><area shape="rect" id="node14" href="class_prngd.html#a651cac44aa2765c7428d2d89b0f8776c" title="Prngd::getResultSize" alt="" coords="251,238,396,265"/><area shape="rect" id="node15" href="class_com___interface.html#a86dab5cff6981eba39b28688af72c464" title="Com_Interface::deleteParams" alt="" coords="227,289,420,315"/><area shape="rect" id="node16" href="class_my_thread_class.html#a2f39e3150017a1e203654cb6ebbd94fa" title="MyThreadClass::WaitForListener\lThreadToExit" alt="" coords="217,340,429,381"/><area shape="rect" id="node3" href="class_com___interface.html#ad6999d4955c55fbd93cd99d862f1e378" title="Com_Interface::dummy\l_handler" alt="" coords="477,5,633,47"/><area shape="rect" id="node5" href="class_my_thread_class.html#a6dcc6b326ea7768693ed99f884195018" title="MyThreadClass::thread\l_listenerEntryFunc" alt="" coords="477,71,633,112"/><area shape="rect" id="node8" href="class_prngd.html#a07d9db50d295ba88184d0b0d3d191a06" title="Prngd::readParameters" alt="" coords="477,137,633,163"/><area shape="rect" id="node9" href="class_prngd.html#a9e5848669332f0936a77b2db0c663c37" title="Prngd::getRndData" alt="" coords="1027,213,1159,239"/><area shape="rect" id="node10" href="class_b_b_s.html#a698e05fd2f2968af4600fb160e7faeb7" title="BBS::generateBits" alt="" coords="490,238,621,265"/><area shape="rect" id="node13" href="class_i_o_unit.html#aeff3307e483d37a668f06a136fade0b3" title="IOUnit::writeToFile" alt="" coords="491,289,619,315"/><area shape="rect" id="node11" href="class_b_b_s.html#a0659bff6844aaba740d202b8ca168ae1" title="BBS::create_M" alt="" coords="681,238,792,265"/><area shape="rect" id="node12" href="class_b_b_s.html#adadf22f67593a49c880d4f0a22ef83dd" title="BBS::getBlumPrime" alt="" coords="840,238,979,265"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a6ca9589adee5136009cb8f62e228d913"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct sockaddr_in Tcp_Server::address</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Struct for the server address. </p>

</div>
</div>
<a class="anchor" id="acd52320edd60e5711cc92c78c03658d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">socklen_t Tcp_Server::addrlen</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Var for the address length of the server. </p>

</div>
</div>
<a class="anchor" id="a997f92ae453cb07a25d992afca8ea5d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Tcp_Server::create_socket</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Unix socket for the tcp connection. </p>

</div>
</div>
<a class="anchor" id="ad0521cff576ea187041e9a322f5d6d1a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Tcp_Server::new_socket</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Unix socket for the tcp communication. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>H:/prngd_server/inc/<a class="el" href="_tcp___server_8h_source.html">Tcp_Server.h</a></li>
<li>H:/prngd_server/src/Tcp_Server.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_tcp___server.html">Tcp_Server</a></li>
    <li class="footer">Generated on Fri Aug 29 2014 14:14:52 for prngd by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
=======
<<<<<<< .mine
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>prngd: Tcp_Server Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">prngd
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_tcp___server.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="class_tcp___server-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Tcp_Server Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Implement a tcp-server for prngd.  
 <a href="class_tcp___server.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_tcp___server_8h_source.html">Tcp_Server.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Tcp_Server:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server__inherit__graph.png" border="0" usemap="#_tcp___server_inherit__map" alt="Inheritance graph"/></div>
<map name="_tcp___server_inherit__map" id="_tcp___server_inherit__map">
<area shape="rect" id="node2" href="class_com___interface.html" title="Interface class for all server&#45;classes like Tcp_Server , Udp_Server etc. . " alt="" coords="5,5,111,32"/><area shape="rect" id="node3" href="class_my_thread_class.html" title="Implements Thread&#45;handling for two threads within an object. " alt="" coords="135,5,247,32"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Tcp_Server:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server__coll__graph.png" border="0" usemap="#_tcp___server_coll__map" alt="Collaboration graph"/></div>
<map name="_tcp___server_coll__map" id="_tcp___server_coll__map">
<area shape="rect" id="node2" href="class_com___interface.html" title="Interface class for all server&#45;classes like Tcp_Server , Udp_Server etc. . " alt="" coords="21,184,126,211"/><area shape="rect" id="node3" href="class_prngd.html" title="Can generate random bits with the help of a BBS&#45;generator or a ...... " alt="" coords="45,95,101,121"/><area shape="rect" id="node4" href="class_i_o_unit.html" title="Class for Input/Output File Operations. " alt="" coords="5,5,64,32"/><area shape="rect" id="node5" href="class_b_b_s.html" title="Blum Blum Shub pseudo random number generator. " alt="" coords="89,5,138,32"/><area shape="rect" id="node6" href="class_my_thread_class.html" title="Implements Thread&#45;handling for two threads within an object. " alt="" coords="151,184,263,211"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad8fb0128c69d6f3597f86b82bcdcfb7a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#ad8fb0128c69d6f3597f86b82bcdcfb7a">Tcp_Server</a> (Prngd_State state)</td></tr>
<tr class="separator:ad8fb0128c69d6f3597f86b82bcdcfb7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfbbfa3a278df78e960b66b6639aff86"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#abfbbfa3a278df78e960b66b6639aff86">~Tcp_Server</a> ()</td></tr>
<tr class="separator:abfbbfa3a278df78e960b66b6639aff86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:a065ac72fad16160e5eb3eb15d39c80ef inherit pub_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a065ac72fad16160e5eb3eb15d39c80ef">Com_Interface</a> ()</td></tr>
<tr class="separator:a065ac72fad16160e5eb3eb15d39c80ef inherit pub_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfde94bb290770ae09a732b3bd3f5753 inherit pub_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#abfde94bb290770ae09a732b3bd3f5753">~Com_Interface</a> ()</td></tr>
<tr class="separator:abfde94bb290770ae09a732b3bd3f5753 inherit pub_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4b655641d2e003fa7595252e35a13f7 inherit pub_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#af4b655641d2e003fa7595252e35a13f7">isActive</a> ()</td></tr>
<tr class="separator:af4b655641d2e003fa7595252e35a13f7 inherit pub_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ab143c623a5dcda41b308c443b81f74dd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#ab143c623a5dcda41b308c443b81f74dd">thread_listen</a> (pthread_t parent_th)</td></tr>
<tr class="separator:ab143c623a5dcda41b308c443b81f74dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2edda05badb8d3b7838679aaaa70b470"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#a2edda05badb8d3b7838679aaaa70b470">thread_work</a> ()</td></tr>
<tr class="separator:a2edda05badb8d3b7838679aaaa70b470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_my_thread_class"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_my_thread_class')"><img src="closed.png" alt="-"/>&#160;Private Member Functions inherited from <a class="el" href="class_my_thread_class.html">MyThreadClass</a></td></tr>
<tr class="memitem:a08ff85b3d928e0b953b3aee40b4dc9ed inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a08ff85b3d928e0b953b3aee40b4dc9ed">MyThreadClass</a> ()</td></tr>
<tr class="separator:a08ff85b3d928e0b953b3aee40b4dc9ed inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04fba1006d1a3606208997d539214f8f inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a04fba1006d1a3606208997d539214f8f">~MyThreadClass</a> ()</td></tr>
<tr class="separator:a04fba1006d1a3606208997d539214f8f inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a61698b55e4b49c3050854bb10ec8ba inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a5a61698b55e4b49c3050854bb10ec8ba">StartWorkerThread</a> ()</td></tr>
<tr class="separator:a5a61698b55e4b49c3050854bb10ec8ba inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d7edfe08ebb05f0ed293d4623f5b544 inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a0d7edfe08ebb05f0ed293d4623f5b544">StartListenerThread</a> (pthread_t parent_th)</td></tr>
<tr class="separator:a0d7edfe08ebb05f0ed293d4623f5b544 inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a649497005488e50141baa26434719e69 inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a649497005488e50141baa26434719e69">WaitForWorkerThreadToExit</a> ()</td></tr>
<tr class="separator:a649497005488e50141baa26434719e69 inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f39e3150017a1e203654cb6ebbd94fa inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a2f39e3150017a1e203654cb6ebbd94fa">WaitForListenerThreadToExit</a> ()</td></tr>
<tr class="separator:a2f39e3150017a1e203654cb6ebbd94fa inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a997f92ae453cb07a25d992afca8ea5d0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#a997f92ae453cb07a25d992afca8ea5d0">create_socket</a></td></tr>
<tr class="separator:a997f92ae453cb07a25d992afca8ea5d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0521cff576ea187041e9a322f5d6d1a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#ad0521cff576ea187041e9a322f5d6d1a">new_socket</a></td></tr>
<tr class="separator:ad0521cff576ea187041e9a322f5d6d1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd52320edd60e5711cc92c78c03658d7"><td class="memItemLeft" align="right" valign="top">socklen_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#acd52320edd60e5711cc92c78c03658d7">addrlen</a></td></tr>
<tr class="separator:acd52320edd60e5711cc92c78c03658d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ca9589adee5136009cb8f62e228d913"><td class="memItemLeft" align="right" valign="top">struct sockaddr_in&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#a6ca9589adee5136009cb8f62e228d913">address</a></td></tr>
<tr class="separator:a6ca9589adee5136009cb8f62e228d913"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:a336a131126d70b29f57b00dd85ddbd17 inherit pro_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a336a131126d70b29f57b00dd85ddbd17">configSignals</a> ()</td></tr>
<tr class="separator:a336a131126d70b29f57b00dd85ddbd17 inherit pro_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa423be26761f884c8dc9ebc2a5bfa56d inherit pro_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aa423be26761f884c8dc9ebc2a5bfa56d">getParams</a> ()</td></tr>
<tr class="separator:aa423be26761f884c8dc9ebc2a5bfa56d inherit pro_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86dab5cff6981eba39b28688af72c464 inherit pro_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a86dab5cff6981eba39b28688af72c464">deleteParams</a> ()</td></tr>
<tr class="separator:a86dab5cff6981eba39b28688af72c464 inherit pro_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_methods_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Static Protected Member Functions inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:ad6999d4955c55fbd93cd99d862f1e378 inherit pro_static_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#ad6999d4955c55fbd93cd99d862f1e378">dummy_handler</a> (int)</td></tr>
<tr class="separator:ad6999d4955c55fbd93cd99d862f1e378 inherit pro_static_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:aeb7aa609943c932ca93b8b2ac134f9c2 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_prngd.html">Prngd</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aeb7aa609943c932ca93b8b2ac134f9c2">prngd</a></td></tr>
<tr class="separator:aeb7aa609943c932ca93b8b2ac134f9c2 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb6626223a71a55bede469f632a3a80b inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">pthread_attr_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aeb6626223a71a55bede469f632a3a80b">attr_obj</a></td></tr>
<tr class="separator:aeb6626223a71a55bede469f632a3a80b inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03383450084f47ce46bbd6eba7a2fe4b inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">sigset_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a03383450084f47ce46bbd6eba7a2fe4b">sigmask</a></td></tr>
<tr class="separator:a03383450084f47ce46bbd6eba7a2fe4b inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7857c92683530e3981d078f290f1826 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#ae7857c92683530e3981d078f290f1826">sig</a></td></tr>
<tr class="separator:ae7857c92683530e3981d078f290f1826 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe0239dfa53ce449b1a68829c704494f inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">struct sigaction&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#abe0239dfa53ce449b1a68829c704494f">action</a></td></tr>
<tr class="separator:abe0239dfa53ce449b1a68829c704494f inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c65929a9fd606c2db0fe63e62837940 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a4c65929a9fd606c2db0fe63e62837940">listen_thread_active</a></td></tr>
<tr class="separator:a4c65929a9fd606c2db0fe63e62837940 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a787baff1c3a135707d38612c24c091b1 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a787baff1c3a135707d38612c24c091b1">work_thread_active</a></td></tr>
<tr class="separator:a787baff1c3a135707d38612c24c091b1 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3967c39a22bb3f76fded0b57e50c2b78 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a3967c39a22bb3f76fded0b57e50c2b78">work_buffer</a> [BUFFER_SIZE]</td></tr>
<tr class="separator:a3967c39a22bb3f76fded0b57e50c2b78 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebd609f7517d3cbbdff77bf1d3183dc0 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aebd609f7517d3cbbdff77bf1d3183dc0">worker_busy</a></td></tr>
<tr class="separator:aebd609f7517d3cbbdff77bf1d3183dc0 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d9e2b07056a8effe616bdc1addbce9 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a49d9e2b07056a8effe616bdc1addbce9">param_count</a></td></tr>
<tr class="separator:a49d9e2b07056a8effe616bdc1addbce9 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a837a6d442933031ed87b08d484f5b4a7 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">char **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a837a6d442933031ed87b08d484f5b4a7">params</a></td></tr>
<tr class="separator:a837a6d442933031ed87b08d484f5b4a7 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11f62625a965eb292768e464f44dd42e inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a11f62625a965eb292768e464f44dd42e">active</a></td></tr>
<tr class="separator:a11f62625a965eb292768e464f44dd42e inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implement a tcp-server for prngd. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad8fb0128c69d6f3597f86b82bcdcfb7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Tcp_Server::Tcp_Server </td>
          <td>(</td>
          <td class="paramtype">Prngd_State&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor </p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph.png" border="0" usemap="#class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph" alt=""/></div>
<map name="class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph" id="class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph">
<area shape="rect" id="node2" href="class_my_thread_class.html#a5a61698b55e4b49c3050854bb10ec8ba" title="MyThreadClass::StartWorker\lThread" alt="" coords="212,5,403,47"/><area shape="rect" id="node3" href="class_my_thread_class.html#a7909fe494afbfe99b385dc5bccbfb5ba" title="MyThreadClass::thread\l_workEntryFunc" alt="" coords="451,5,607,47"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="abfbbfa3a278df78e960b66b6639aff86"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Tcp_Server::~Tcp_Server </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destructor </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab143c623a5dcda41b308c443b81f74dd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Tcp_Server::thread_listen </td>
          <td>(</td>
          <td class="paramtype">pthread_t&#160;</td>
          <td class="paramname"><em>parent_th</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>See doc for My_ThreadClass. </p>

<p>Implements <a class="el" href="class_com___interface.html#ace46e0a2fac1cef57aceaaaa16dcc2f5">Com_Interface</a>.</p>

</div>
</div>
<a class="anchor" id="a2edda05badb8d3b7838679aaaa70b470"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Tcp_Server::thread_work </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>See doc for My_ThreadClass. </p>

<p>Implements <a class="el" href="class_com___interface.html#a3b92b83ba2161bfdf973c7ab3c7d7b0e">Com_Interface</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph.png" border="0" usemap="#class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph" alt=""/></div>
<map name="class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph" id="class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph">
<area shape="rect" id="node2" href="class_com___interface.html#a336a131126d70b29f57b00dd85ddbd17" title="Com_Interface::configSignals" alt="" coords="228,17,419,43"/><area shape="rect" id="node4" href="class_my_thread_class.html#a0d7edfe08ebb05f0ed293d4623f5b544" title="MyThreadClass::StartListener\lThread" alt="" coords="226,71,421,112"/><area shape="rect" id="node6" href="class_com___interface.html#aa423be26761f884c8dc9ebc2a5bfa56d" title="Com_Interface::getParams" alt="" coords="235,137,411,163"/><area shape="rect" id="node7" href="class_prngd.html#a617fbe2be79677859235262d59b4c0f0" title="Prngd::work" alt="" coords="278,187,369,214"/><area shape="rect" id="node14" href="class_prngd.html#a651cac44aa2765c7428d2d89b0f8776c" title="Prngd::getResultSize" alt="" coords="251,238,396,265"/><area shape="rect" id="node15" href="class_com___interface.html#a86dab5cff6981eba39b28688af72c464" title="Com_Interface::deleteParams" alt="" coords="227,289,420,315"/><area shape="rect" id="node16" href="class_my_thread_class.html#a2f39e3150017a1e203654cb6ebbd94fa" title="MyThreadClass::WaitForListener\lThreadToExit" alt="" coords="217,340,429,381"/><area shape="rect" id="node3" href="class_com___interface.html#ad6999d4955c55fbd93cd99d862f1e378" title="Com_Interface::dummy\l_handler" alt="" coords="477,5,633,47"/><area shape="rect" id="node5" href="class_my_thread_class.html#a6dcc6b326ea7768693ed99f884195018" title="MyThreadClass::thread\l_listenerEntryFunc" alt="" coords="477,71,633,112"/><area shape="rect" id="node8" href="class_prngd.html#a07d9db50d295ba88184d0b0d3d191a06" title="Prngd::readParameters" alt="" coords="477,137,633,163"/><area shape="rect" id="node9" href="class_prngd.html#a9e5848669332f0936a77b2db0c663c37" title="Prngd::getRndData" alt="" coords="1027,213,1159,239"/><area shape="rect" id="node10" href="class_b_b_s.html#a698e05fd2f2968af4600fb160e7faeb7" title="BBS::generateBits" alt="" coords="490,238,621,265"/><area shape="rect" id="node13" href="class_i_o_unit.html#aeff3307e483d37a668f06a136fade0b3" title="IOUnit::writeToFile" alt="" coords="491,289,619,315"/><area shape="rect" id="node11" href="class_b_b_s.html#a0659bff6844aaba740d202b8ca168ae1" title="BBS::create_M" alt="" coords="681,238,792,265"/><area shape="rect" id="node12" href="class_b_b_s.html#adadf22f67593a49c880d4f0a22ef83dd" title="BBS::getBlumPrime" alt="" coords="840,238,979,265"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a6ca9589adee5136009cb8f62e228d913"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct sockaddr_in Tcp_Server::address</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Struct for the server address. </p>

</div>
</div>
<a class="anchor" id="acd52320edd60e5711cc92c78c03658d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">socklen_t Tcp_Server::addrlen</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Var for the address length of the server. </p>

</div>
</div>
<a class="anchor" id="a997f92ae453cb07a25d992afca8ea5d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Tcp_Server::create_socket</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Unix socket for the tcp connection. </p>

</div>
</div>
<a class="anchor" id="ad0521cff576ea187041e9a322f5d6d1a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Tcp_Server::new_socket</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Unix socket for the tcp communication. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>H:/prngd_server/inc/<a class="el" href="_tcp___server_8h_source.html">Tcp_Server.h</a></li>
<li>H:/prngd_server/src/Tcp_Server.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_tcp___server.html">Tcp_Server</a></li>
    <li class="footer">Generated on Fri Aug 29 2014 14:14:52 for prngd by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
=======
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>prngd: Tcp_Server Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">prngd
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_tcp___server.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="class_tcp___server-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Tcp_Server Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Implements a tcp-server for prngd.  
 <a href="class_tcp___server.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_tcp___server_8h_source.html">Tcp_Server.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Tcp_Server:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server__inherit__graph.png" border="0" usemap="#_tcp___server_inherit__map" alt="Inheritance graph"/></div>
<map name="_tcp___server_inherit__map" id="_tcp___server_inherit__map">
<area shape="rect" id="node2" href="class_com___interface.html" title="Interface class for all server&#45;classes like Tcp_Server , Udp_Server etc. . " alt="" coords="5,5,111,32"/><area shape="rect" id="node3" href="class_my_thread_class.html" title="Implements Thread&#45;handling for two threads within an object. " alt="" coords="135,5,247,32"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Tcp_Server:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server__coll__graph.png" border="0" usemap="#_tcp___server_coll__map" alt="Collaboration graph"/></div>
<map name="_tcp___server_coll__map" id="_tcp___server_coll__map">
<area shape="rect" id="node2" href="class_com___interface.html" title="Interface class for all server&#45;classes like Tcp_Server , Udp_Server etc. . " alt="" coords="21,184,126,211"/><area shape="rect" id="node3" href="class_prngd.html" title="Can generate random bits with the help of a BBS&#45;generator or a ...... " alt="" coords="45,95,101,121"/><area shape="rect" id="node4" href="class_i_o_unit.html" title="Class for Input/Output File Operations. " alt="" coords="5,5,64,32"/><area shape="rect" id="node5" href="class_b_b_s.html" title="Blum Blum Shub pseudo random number generator. " alt="" coords="89,5,138,32"/><area shape="rect" id="node6" href="class_my_thread_class.html" title="Implements Thread&#45;handling for two threads within an object. " alt="" coords="151,184,263,211"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad8fb0128c69d6f3597f86b82bcdcfb7a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#ad8fb0128c69d6f3597f86b82bcdcfb7a">Tcp_Server</a> (Prngd_State state)</td></tr>
<tr class="separator:ad8fb0128c69d6f3597f86b82bcdcfb7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfbbfa3a278df78e960b66b6639aff86"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#abfbbfa3a278df78e960b66b6639aff86">~Tcp_Server</a> ()</td></tr>
<tr class="separator:abfbbfa3a278df78e960b66b6639aff86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:a065ac72fad16160e5eb3eb15d39c80ef inherit pub_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a065ac72fad16160e5eb3eb15d39c80ef">Com_Interface</a> ()</td></tr>
<tr class="separator:a065ac72fad16160e5eb3eb15d39c80ef inherit pub_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfde94bb290770ae09a732b3bd3f5753 inherit pub_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#abfde94bb290770ae09a732b3bd3f5753">~Com_Interface</a> ()</td></tr>
<tr class="separator:abfde94bb290770ae09a732b3bd3f5753 inherit pub_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4b655641d2e003fa7595252e35a13f7 inherit pub_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#af4b655641d2e003fa7595252e35a13f7">isActive</a> ()</td></tr>
<tr class="separator:af4b655641d2e003fa7595252e35a13f7 inherit pub_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ab143c623a5dcda41b308c443b81f74dd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#ab143c623a5dcda41b308c443b81f74dd">thread_listen</a> (pthread_t parent_th)</td></tr>
<tr class="separator:ab143c623a5dcda41b308c443b81f74dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2edda05badb8d3b7838679aaaa70b470"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#a2edda05badb8d3b7838679aaaa70b470">thread_work</a> ()</td></tr>
<tr class="separator:a2edda05badb8d3b7838679aaaa70b470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_my_thread_class"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_my_thread_class')"><img src="closed.png" alt="-"/>&#160;Private Member Functions inherited from <a class="el" href="class_my_thread_class.html">MyThreadClass</a></td></tr>
<tr class="memitem:a08ff85b3d928e0b953b3aee40b4dc9ed inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a08ff85b3d928e0b953b3aee40b4dc9ed">MyThreadClass</a> ()</td></tr>
<tr class="separator:a08ff85b3d928e0b953b3aee40b4dc9ed inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04fba1006d1a3606208997d539214f8f inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a04fba1006d1a3606208997d539214f8f">~MyThreadClass</a> ()</td></tr>
<tr class="separator:a04fba1006d1a3606208997d539214f8f inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a61698b55e4b49c3050854bb10ec8ba inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a5a61698b55e4b49c3050854bb10ec8ba">StartWorkerThread</a> ()</td></tr>
<tr class="separator:a5a61698b55e4b49c3050854bb10ec8ba inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d7edfe08ebb05f0ed293d4623f5b544 inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a0d7edfe08ebb05f0ed293d4623f5b544">StartListenerThread</a> (pthread_t parent_th)</td></tr>
<tr class="separator:a0d7edfe08ebb05f0ed293d4623f5b544 inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a649497005488e50141baa26434719e69 inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a649497005488e50141baa26434719e69">WaitForWorkerThreadToExit</a> ()</td></tr>
<tr class="separator:a649497005488e50141baa26434719e69 inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f39e3150017a1e203654cb6ebbd94fa inherit pub_methods_class_my_thread_class"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_my_thread_class.html#a2f39e3150017a1e203654cb6ebbd94fa">WaitForListenerThreadToExit</a> ()</td></tr>
<tr class="separator:a2f39e3150017a1e203654cb6ebbd94fa inherit pub_methods_class_my_thread_class"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a997f92ae453cb07a25d992afca8ea5d0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#a997f92ae453cb07a25d992afca8ea5d0">create_socket</a></td></tr>
<tr class="separator:a997f92ae453cb07a25d992afca8ea5d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0521cff576ea187041e9a322f5d6d1a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#ad0521cff576ea187041e9a322f5d6d1a">new_socket</a></td></tr>
<tr class="separator:ad0521cff576ea187041e9a322f5d6d1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd52320edd60e5711cc92c78c03658d7"><td class="memItemLeft" align="right" valign="top">socklen_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#acd52320edd60e5711cc92c78c03658d7">addrlen</a></td></tr>
<tr class="separator:acd52320edd60e5711cc92c78c03658d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ca9589adee5136009cb8f62e228d913"><td class="memItemLeft" align="right" valign="top">struct sockaddr_in&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp___server.html#a6ca9589adee5136009cb8f62e228d913">address</a></td></tr>
<tr class="separator:a6ca9589adee5136009cb8f62e228d913"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:a336a131126d70b29f57b00dd85ddbd17 inherit pro_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a336a131126d70b29f57b00dd85ddbd17">configSignals</a> ()</td></tr>
<tr class="separator:a336a131126d70b29f57b00dd85ddbd17 inherit pro_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa423be26761f884c8dc9ebc2a5bfa56d inherit pro_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aa423be26761f884c8dc9ebc2a5bfa56d">getParams</a> ()</td></tr>
<tr class="separator:aa423be26761f884c8dc9ebc2a5bfa56d inherit pro_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86dab5cff6981eba39b28688af72c464 inherit pro_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a86dab5cff6981eba39b28688af72c464">deleteParams</a> ()</td></tr>
<tr class="separator:a86dab5cff6981eba39b28688af72c464 inherit pro_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_methods_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Static Protected Member Functions inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:ad6999d4955c55fbd93cd99d862f1e378 inherit pro_static_methods_class_com___interface"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#ad6999d4955c55fbd93cd99d862f1e378">dummy_handler</a> (int)</td></tr>
<tr class="separator:ad6999d4955c55fbd93cd99d862f1e378 inherit pro_static_methods_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_com___interface"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_com___interface')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_com___interface.html">Com_Interface</a></td></tr>
<tr class="memitem:aeb7aa609943c932ca93b8b2ac134f9c2 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_prngd.html">Prngd</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aeb7aa609943c932ca93b8b2ac134f9c2">prngd</a></td></tr>
<tr class="separator:aeb7aa609943c932ca93b8b2ac134f9c2 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb6626223a71a55bede469f632a3a80b inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">pthread_attr_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aeb6626223a71a55bede469f632a3a80b">attr_obj</a></td></tr>
<tr class="separator:aeb6626223a71a55bede469f632a3a80b inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03383450084f47ce46bbd6eba7a2fe4b inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">sigset_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a03383450084f47ce46bbd6eba7a2fe4b">sigmask</a></td></tr>
<tr class="separator:a03383450084f47ce46bbd6eba7a2fe4b inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7857c92683530e3981d078f290f1826 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#ae7857c92683530e3981d078f290f1826">sig</a></td></tr>
<tr class="separator:ae7857c92683530e3981d078f290f1826 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe0239dfa53ce449b1a68829c704494f inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">struct sigaction&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#abe0239dfa53ce449b1a68829c704494f">action</a></td></tr>
<tr class="separator:abe0239dfa53ce449b1a68829c704494f inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c65929a9fd606c2db0fe63e62837940 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a4c65929a9fd606c2db0fe63e62837940">listen_thread_active</a></td></tr>
<tr class="separator:a4c65929a9fd606c2db0fe63e62837940 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a787baff1c3a135707d38612c24c091b1 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a787baff1c3a135707d38612c24c091b1">work_thread_active</a></td></tr>
<tr class="separator:a787baff1c3a135707d38612c24c091b1 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3967c39a22bb3f76fded0b57e50c2b78 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a3967c39a22bb3f76fded0b57e50c2b78">work_buffer</a> [BUFFER_SIZE]</td></tr>
<tr class="separator:a3967c39a22bb3f76fded0b57e50c2b78 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebd609f7517d3cbbdff77bf1d3183dc0 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#aebd609f7517d3cbbdff77bf1d3183dc0">worker_busy</a></td></tr>
<tr class="separator:aebd609f7517d3cbbdff77bf1d3183dc0 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d9e2b07056a8effe616bdc1addbce9 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a49d9e2b07056a8effe616bdc1addbce9">param_count</a></td></tr>
<tr class="separator:a49d9e2b07056a8effe616bdc1addbce9 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a837a6d442933031ed87b08d484f5b4a7 inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">char **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a837a6d442933031ed87b08d484f5b4a7">params</a></td></tr>
<tr class="separator:a837a6d442933031ed87b08d484f5b4a7 inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11f62625a965eb292768e464f44dd42e inherit pro_attribs_class_com___interface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com___interface.html#a11f62625a965eb292768e464f44dd42e">active</a></td></tr>
<tr class="separator:a11f62625a965eb292768e464f44dd42e inherit pro_attribs_class_com___interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implements a tcp-server for prngd. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad8fb0128c69d6f3597f86b82bcdcfb7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Tcp_Server::Tcp_Server </td>
          <td>(</td>
          <td class="paramtype">Prngd_State&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor </p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph.png" border="0" usemap="#class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph" alt=""/></div>
<map name="class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph" id="class_tcp___server_ad8fb0128c69d6f3597f86b82bcdcfb7a_cgraph">
<area shape="rect" id="node2" href="class_my_thread_class.html#a5a61698b55e4b49c3050854bb10ec8ba" title="MyThreadClass::StartWorker\lThread" alt="" coords="212,5,403,47"/><area shape="rect" id="node3" href="class_my_thread_class.html#a7909fe494afbfe99b385dc5bccbfb5ba" title="MyThreadClass::thread\l_workEntryFunc" alt="" coords="451,5,607,47"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="abfbbfa3a278df78e960b66b6639aff86"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Tcp_Server::~Tcp_Server </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destructor </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab143c623a5dcda41b308c443b81f74dd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Tcp_Server::thread_listen </td>
          <td>(</td>
          <td class="paramtype">pthread_t&#160;</td>
          <td class="paramname"><em>parent_th</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>See doc for My_ThreadClass. </p>

<p>Implements <a class="el" href="class_com___interface.html#ace46e0a2fac1cef57aceaaaa16dcc2f5">Com_Interface</a>.</p>

</div>
</div>
<a class="anchor" id="a2edda05badb8d3b7838679aaaa70b470"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Tcp_Server::thread_work </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>See doc for My_ThreadClass. </p>

<p>Implements <a class="el" href="class_com___interface.html#a3b92b83ba2161bfdf973c7ab3c7d7b0e">Com_Interface</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph.png" border="0" usemap="#class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph" alt=""/></div>
<map name="class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph" id="class_tcp___server_a2edda05badb8d3b7838679aaaa70b470_cgraph">
<area shape="rect" id="node2" href="class_com___interface.html#a336a131126d70b29f57b00dd85ddbd17" title="Com_Interface::configSignals" alt="" coords="228,17,419,43"/><area shape="rect" id="node4" href="class_my_thread_class.html#a0d7edfe08ebb05f0ed293d4623f5b544" title="MyThreadClass::StartListener\lThread" alt="" coords="226,71,421,112"/><area shape="rect" id="node6" href="class_com___interface.html#aa423be26761f884c8dc9ebc2a5bfa56d" title="Com_Interface::getParams" alt="" coords="235,137,411,163"/><area shape="rect" id="node7" href="class_prngd.html#a617fbe2be79677859235262d59b4c0f0" title="Prngd::work" alt="" coords="278,187,369,214"/><area shape="rect" id="node14" href="class_prngd.html#a651cac44aa2765c7428d2d89b0f8776c" title="Prngd::getResultSize" alt="" coords="251,238,396,265"/><area shape="rect" id="node15" href="class_com___interface.html#a86dab5cff6981eba39b28688af72c464" title="Com_Interface::deleteParams" alt="" coords="227,289,420,315"/><area shape="rect" id="node16" href="class_my_thread_class.html#a2f39e3150017a1e203654cb6ebbd94fa" title="MyThreadClass::WaitForListener\lThreadToExit" alt="" coords="217,340,429,381"/><area shape="rect" id="node3" href="class_com___interface.html#ad6999d4955c55fbd93cd99d862f1e378" title="Com_Interface::dummy\l_handler" alt="" coords="477,5,633,47"/><area shape="rect" id="node5" href="class_my_thread_class.html#a6dcc6b326ea7768693ed99f884195018" title="MyThreadClass::thread\l_listenerEntryFunc" alt="" coords="477,71,633,112"/><area shape="rect" id="node8" href="class_prngd.html#a07d9db50d295ba88184d0b0d3d191a06" title="Prngd::readParameters" alt="" coords="477,137,633,163"/><area shape="rect" id="node9" href="class_prngd.html#a9e5848669332f0936a77b2db0c663c37" title="Prngd::getRndData" alt="" coords="1027,213,1159,239"/><area shape="rect" id="node10" href="class_b_b_s.html#a698e05fd2f2968af4600fb160e7faeb7" title="BBS::generateBits" alt="" coords="490,238,621,265"/><area shape="rect" id="node13" href="class_i_o_unit.html#aeff3307e483d37a668f06a136fade0b3" title="IOUnit::writeToFile" alt="" coords="491,289,619,315"/><area shape="rect" id="node11" href="class_b_b_s.html#a0659bff6844aaba740d202b8ca168ae1" title="BBS::create_M" alt="" coords="681,238,792,265"/><area shape="rect" id="node12" href="class_b_b_s.html#adadf22f67593a49c880d4f0a22ef83dd" title="BBS::getBlumPrime" alt="" coords="840,238,979,265"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a6ca9589adee5136009cb8f62e228d913"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct sockaddr_in Tcp_Server::address</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Struct for the server address. </p>

</div>
</div>
<a class="anchor" id="acd52320edd60e5711cc92c78c03658d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">socklen_t Tcp_Server::addrlen</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Var for the address length of the server. </p>

</div>
</div>
<a class="anchor" id="a997f92ae453cb07a25d992afca8ea5d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Tcp_Server::create_socket</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Unix socket for the tcp connection. </p>

</div>
</div>
<a class="anchor" id="ad0521cff576ea187041e9a322f5d6d1a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Tcp_Server::new_socket</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Unix socket for the tcp communication. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>H:/prngd_server/inc/<a class="el" href="_tcp___server_8h_source.html">Tcp_Server.h</a></li>
<li>H:/prngd_server/src/Tcp_Server.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_tcp___server.html">Tcp_Server</a></li>
    <li class="footer">Generated on Sun Aug 31 2014 18:01:31 for prngd by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
>>>>>>> .r39
>>>>>>> .r46
